package org.example.pro2_self_iocContainer.yc;

import org.example.pro2_self_iocContainer.org.annotation.YcResource;
import org.example.pro2_self_iocContainer.org.annotation.YcScope;
import org.example.pro2_self_iocContainer.org.annotation.YcService;

@YcService
//@YcLazy
@YcScope("prototype")
public class UserBiz {
    // @YcAutowired

    @YcResource("userDao")
    private UserDao userDao;

    public void show(){
        this.userDao.show();
    }
}
